﻿using System;
using System.Windows.Forms;

namespace SplashDev
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }

        private void FrmMain_Load(object sender, EventArgs e)
        {
            //第一种方式：在Splash中完成加载任务
            FrmSplash splash1 = new FrmSplash();  
            splash1.ShowDialog();

            //第二种方式：在主界面中完成加载，Splash展示进度

        }
    }
}
